package com.sharecar.request;

import com.android.sharecar.model.OnlineUser;
import com.android.sharecar.model.UserTalkMsg;

/**
 * This class encapsulates the client's request to UserTalkMsgService.
 * @author xinyan
 *
 */
public class UserTalkMsgRequest extends Request {
	private static final long serialVersionUID = 11L;

	public static final int INSERT_A_TALK = 1;
	public static final int SELECT_AROUND_USERS_TALKS = 2;

	private OnlineUser user;
	private UserTalkMsg msg;

	public UserTalkMsgRequest(int type) {
		this.requestType = type;
	}

	public OnlineUser getUser() {
		return user;
	}

	public void setUser(OnlineUser user) {
		this.user = user;
	}

	public UserTalkMsg getMsg() {
		return msg;
	}

	public void setMsg(UserTalkMsg msg) {
		this.msg = msg;
	}
}
